package Common.Entities;

import java.io.Serializable;

/**
 * This class holds the Type's entity properties and methods
 * @author Ori Ziv
 *
 */
public class Type extends CatalogItem implements Serializable {

	private static final long serialVersionUID = 2997766408395178040L;
	private String categoryName;

	/**
	 * @param itmID - product type ID
	 * @param itmName - product type name
	 * @param itmDescription - product type description
	 */
	public Type(String itmID, String itmName, String itmDescription, String categoryName) {
		super(itmID, itmName, itmDescription);
		this.categoryName = categoryName;
	}

	/**
	 * @param itmID - product type ID
	 * @param itmName - product type name
	 */
	public Type(String itmID, String itmName, String categoryName) {
		super(itmID, itmName);
		this.categoryName = categoryName;
	}

	public Type() {

	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	

}
